package com.example.leonard;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

//启动类
@SpringBootApplication
@EnableScheduling
//@EnableAsync
@MapperScan(basePackages = "com.example.leonard.mapper")
public class LeonardApplication {

    public static void main(String[] args) {
        SpringApplication. run(LeonardApplication.class, args);
    }

}
